projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa74c7f
)
Take file-local variables into account in elint-file (bug#69076)
author
Gerd Möllmann
<gerd@gnu.org>
Wed, 14 Feb 2024 07:54:04 +0000
(08:54 +0100)
committer
Gerd Möllmann
<gerd@gnu.org>
Wed, 14 Feb 2024 07:54:04 +0000
(08:54 +0100)
* lisp/emacs-lisp/elint.el (elint-file): Use hack-local-variables.
lisp/emacs-lisp/elint.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/elint.el
b/lisp/emacs-lisp/elint.el
index a8bc4bdd1e0fb7019bce5a6552847982353348b2..27c169cc6573ecd61942a4d414e062380dff9110 100644
(file)
--- a/
lisp/emacs-lisp/elint.el
+++ b/
lisp/emacs-lisp/elint.el
@@
-266,6
+266,7
@@
This environment can be passed to `macroexpand'."
(insert-file-contents file)
(let ((buffer-file-name file)
(max-lisp-eval-depth (max 1000 max-lisp-eval-depth)))
+ (hack-local-variables)
(with-syntax-table emacs-lisp-mode-syntax-table
(mapc 'elint-top-form (elint-update-env)))))
(elint-set-mode-line)